package com.ys.entity.eKnowAi;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_eknow].[dbo].EKnow_Prompt", catalog="Id")
public class EKnowPrompt extends BaseEntity<EKnowPrompt> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="PromptName", nameJava="promptName", typeDataBase="varchar")
	private String promptName;
	@YsField(nameDataBase="PromptDescribe", nameJava="promptDescribe", typeDataBase="varchar")
	private String promptDescribe;
	@YsField(nameDataBase="CreateUserId", nameJava="createUserId", typeDataBase="varchar")
	private String createUserId;
	@YsField(nameDataBase="PromptContent", nameJava="promptContent", typeDataBase="text")
	private String promptContent;
	@YsField(nameDataBase="Sort", nameJava="sort", typeDataBase="int")
	private Integer sort;
	@YsField(nameDataBase="PromptType", nameJava="promptType", typeDataBase="tinyint")
	private Integer promptType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public EKnowPrompt setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPromptName() {
		return promptName;
	}
	public EKnowPrompt setPromptName(String promptName) {
		this.promptName = promptName;
		return this;
	}
	public String getPromptDescribe() {
		return promptDescribe;
	}
	public EKnowPrompt setPromptDescribe(String promptDescribe) {
		this.promptDescribe = promptDescribe;
		return this;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public EKnowPrompt setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
		return this;
	}
	public String getPromptContent() {
		return promptContent;
	}
	public EKnowPrompt setPromptContent(String promptContent) {
		this.promptContent = promptContent;
		return this;
	}
	public Integer getSort() {
		return sort;
	}
	public EKnowPrompt setSort(Integer sort) {
		this.sort = sort;
		return this;
	}
	public Integer getPromptType() {
		return promptType;
	}
	public EKnowPrompt setPromptType(Integer promptType) {
		this.promptType = promptType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public EKnowPrompt setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public EKnowPrompt setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public EKnowPrompt setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static EKnowPrompt eKnowPrompt(
		String promptName,
		String promptDescribe,
		String createUserId,
		String promptContent,
		Integer sort,
		Integer promptType,
		Integer status
			) {
		EKnowPrompt entity = new EKnowPrompt();
		entity.setPromptName(promptName);
		entity.setPromptDescribe(promptDescribe);
		entity.setCreateUserId(createUserId);
		entity.setPromptContent(promptContent);
		entity.setSort(sort);
		entity.setPromptType(promptType);
		entity.setStatus(status);
		return entity;
	}
}